package org.pim.smart.hibernate.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractGroupContact entity provides the base persistence definition of the
 * GroupContact entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractGroupContact implements java.io.Serializable {

	// Fields

	private Integer groupOid;
	private SysUser sysUser;
	private String groupName;
	private Date createDate;
	private String groupColor;
	private Set contactMains = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractGroupContact() {
	}

	/** minimal constructor */
	public AbstractGroupContact(SysUser sysUser, String groupName,
			Date createDate) {
		this.sysUser = sysUser;
		this.groupName = groupName;
		this.createDate = createDate;
	}

	/** full constructor */
	public AbstractGroupContact(SysUser sysUser, String groupName,
			Date createDate, String groupColor, Set contactMains) {
		this.sysUser = sysUser;
		this.groupName = groupName;
		this.createDate = createDate;
		this.groupColor = groupColor;
		this.contactMains = contactMains;
	}

	// Property accessors

	public Integer getGroupOid() {
		return this.groupOid;
	}

	public void setGroupOid(Integer groupOid) {
		this.groupOid = groupOid;
	}

	public SysUser getSysUser() {
		return this.sysUser;
	}

	public void setSysUser(SysUser sysUser) {
		this.sysUser = sysUser;
	}

	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getGroupColor() {
		return this.groupColor;
	}

	public void setGroupColor(String groupColor) {
		this.groupColor = groupColor;
	}

	public Set getContactMains() {
		return this.contactMains;
	}

	public void setContactMains(Set contactMains) {
		this.contactMains = contactMains;
	}

}